package com.gis.service;

// import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gis.dto.SedimentReportDTO;
import com.gis.entity.SedimentData;
import jakarta.servlet.ServletOutputStream;

import java.util.List;

public interface SedimentDataService extends IService<SedimentData>{

    List<SedimentReportDTO> getSedimentQualityAvgByYearAndSeason(int year, String season);


    List<Float> getLastN(String param, int n, int id);

    void generateTIF(ServletOutputStream outputStream, String param, int year, String season);

    List<SedimentData> getAllByYearAndSeason(int year, String season);

    List<SedimentData> getFromYearAndSeason(int stationId, int fromYear, String fromSeason, int toYear, String toSeason);
}
